package com.pan.util;

import java.io.File;

public class PathUtil {

    public static String getProjectPath(){

        return System.getProperty("user.dir");
    }

    public static String getChineseAnalyzerFileDirectory(){

        return getProjectPath()+ File.separator+"chinese-analyze"+File.separator+"file"+File.separator+"txt"+File.separator;
    }


    public static String getChineseAnalyzerFilePath(String fileName){

        return getChineseAnalyzerFileDirectory()+fileName;
    }

}
